package edu.xy.myapplication;

import edu.xy.myapplication.slice.MainAbilitySlice;
import edu.xy.myapplication.slice.MainAbilitySlice_01;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        //设置当前模块主界面
        super.setMainRoute(MainAbilitySlice.class.getName());

        this.addActionRoute("mainabilityslice_01", MainAbilitySlice_01.class.getName());
        this.addActionRoute("mainabilityslice_02", MainAbilitySlice_01.class.getName());
        this.addActionRoute("mainabilityslice_03", MainAbilitySlice_01.class.getName());
        this.addActionRoute("mainabilityslice_04", MainAbilitySlice_01.class.getName());
        this.addActionRoute("mainabilityslice_05", MainAbilitySlice_01.class.getName());
    }
}
